<?php

namespace App\Http\Requests\Api;


class WeappAuthorizationRequest extends FormRequest {
    public function rules() {
        return [
            'code' => 'required|string'
        ];
    }

    public function attributes() {
        return [
            'code' => '小程序的授权码'
        ];
    }
}
